package org.github.latex;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotNull;


@Component
@ConfigurationProperties
public class LatexConfig {

    @NotNull
    private String dataDir;

    private String latexPath;

    private String convertPath;

    public String getDataDir() {
        return dataDir;
    }

    public void setDataDir(String dataDir) {
        this.dataDir = dataDir;
    }

    public String getLatexPath() {
        return latexPath;
    }

    public void setLatexPath(String latexPath) {
        this.latexPath = latexPath;
    }

    public String getConvertPath() {
        return convertPath;
    }

    public void setConvertPath(String convertPath) {
        this.convertPath = convertPath;
    }
}
